package com.quectel.core.module.scheduling.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 *
 * @author zhangheng
 * @email nolan.zhang@quectel.com
 * @date 2023/07/05 13:24
 */
@Data
@Schema
public class SchedulingCalendarConfigDto implements Serializable {

    /**
    * id
    */
    @Schema(description = "id")
    private Long id;

    /**
    * 租户id
    */
    @Schema(description = "租户id")
    private Long tenantId;

    /**
    * 小区id
    */
    @Schema(description = "小区id")
    private Long villageId;

    /**
    * 名称
    */
    @Schema(description = "名称")
    private String name;

    /**
    * 状态 0禁用 1启用
    */
    @Schema(description = "状态 0禁用 1启用")
    private Byte status;

    /**
    * 创建人
    */
    @Schema(description = "创建人")
    private String creator;

    /**
    * 创建时间
    */
    @Schema(description = "创建时间")
    private Date createTime;

    /**
    * 修改人
    */
    @Schema(description = "修改人")
    private String editor;

    /**
    * 修改时间
    */
    @Schema(description = "修改时间")
    private Date editTime;

    /************非数据库字段 start ************/
    @Schema(description = "小区名称")
    private String villageName;

    @Schema(description = "绑定假期日期")
    private List<String> holidayDates;

    @Schema(description = "绑定休息日日期")
    private List<String> restDates;

    @Schema(description = "假期类型 1节假日  2休息日")
    private Byte type;

    @Schema(description = "节假期天数")
    private Integer holidayCount;

    @Schema(description = "休息日天数")
    private Integer restDayCount;
    /************非数据库字段 end **************/
}
